home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy - The Display widget class
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////DDDDiiiissssppppllllaaaayyyy....hhhh>>>>
-
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents version 1.2 of the Motif library.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The XmDisplay object is used by the Motif widgets to store
- information that is specific to a display. It also allows
- the toolkit to access certain information on widget
- hierarchies that would otherwise be unavailable. Each
- client has one XmDisplay object for each display it
- accesses.
-
- An XmDisplay object is automatically created when the
- application creates the first shell on a display (usually
- accomplished by a call to XXXXttttAAAAppppppppIIIInnnniiiittttiiiiaaaalllliiiizzzzeeee or
- XXXXttttAAAAppppppppCCCCrrrreeeeaaaatttteeeeSSSShhhheeeellllllll). It is not necessary to create an
- XmDisplay object by any other means. An application can use
- the function XXXXmmmmGGGGeeeettttXXXXmmmmDDDDiiiissssppppllllaaaayyyy to obtain the widget ID of the
- XmDisplay object for a given display.
-
- An application cannot supply initial values for XmDisplay
- resources as arguments to a call to any function that
- creates widgets. The application or user can supply initial
- values in a resource file. After creating the first shell
- on the display, the application can use XXXXmmmmGGGGeeeettttXXXXmmmmDDDDiiiissssppppllllaaaayyyy to
- obtain the widget ID of the XmDisplay object and then call
- XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss to set the XmDisplay resources.
-
- XmDisplay resources specify the drag protocol style for a
- client participating in drag and drop transactions. There
- are two basic protocol types, preregister and dynamic. When
- a preregister protocol is used, the toolkit handles any
- communication between the initiator and receiver clients,
- and displays the appropriate drag-over and drag-under visual
- effects. A client registers its drop sites in advance and
- this information is stored in a property for each top-level
- window. When the drag pointer enters a top level window,
- the drop site information is read by the initiator. A
- dynamic protocol allows the source and destination clients
- to dynamically communicate drag and drop state information
- between each other, and to update their respective visuals
- accordingly. The toolkit provides drop site information as
- the pointer passes over any given drop site. In this mode,
- a receiver can supply a procedure to generate its own drag-
- under effects.
-
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
-
-
-
- CCCCllllaaaasssssssseeeessss
- Display inherits behavior and resources from CCCCoooorrrreeee,
- CCCCoooommmmppppoooossssiiiitttteeee, SSSShhhheeeellllllll, WWWWMMMMSSSShhhheeeellllllll, VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll, TTTTooooppppLLLLeeeevvvveeeellllSSSShhhheeeellllllll, and
- AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll classes.
-
- The class pointer is xxxxmmmmDDDDiiiissssppppllllaaaayyyyCCCCllllaaaassssssss.
-
- The class name is XXXXmmmmDDDDiiiissssppppllllaaaayyyy.
-
- NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
- The following table defines a set of widget resources used
- by the programmer to specify data. The programmer can also
- set the resource values for the inherited classes to set
- attributes for this widget. To reference a resource by name
- or by class in an ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
- prefix and use the remaining letters. To specify one of the
- defined values for a resource in an ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove
- the XXXXmmmm prefix and use the remaining letters (in either
- lowercase or uppercase, but include any underscores between
- words). The codes in the access column indicate if the
- given resource can be set at creation time (CCCC), set by using
- XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (SSSS), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (GGGG), or is
- not applicable (NNNN////AAAA).
-
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- __________________________________________________________________________________________________________________
- XmNdefaultVirtualBindings DefaultVirtualBindings String dynamic CG
- XmNdragInitiatorProtocolStyle XmCDragInitiatorProtocolStyle unsigned char XmDRAG_PREFER_RECEIVER CG
- XmNdragReceiverProtocolStyle XmCDragReceiverProtocolStyle unsigned char XmDRAG_PREFER_PREREGISTER CG
-
- XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttVVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss
- Specifies the default virtual bindings for the
- display. Following is an example of a
- specification for the ddddeeeeffffaaaauuuullllttttVVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss
- resource in a resource file:
-
- *defaultVirtualBindings: \
- osfBackSpace : <Key>BackSpace\n\
- osfInsert : <Key>InsertChar\n\
- ...
- osfDelete : <Key>DeleteChar
-
-
- XXXXmmmmNNNNddddrrrraaaaggggIIIInnnniiiittttiiiiaaaattttoooorrrrPPPPrrrroooottttooooccccoooollllSSSSttttyyyylllleeee
- Specifies the drag and drop protocol requirements
- or preference when the client is an initiator.
- The possible values are
-
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEERRRREEEEGGGGIIIISSSSTTTTEEEERRRR
- As an initiator, this client does not use the
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-
-
-
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
-
-
-
- dynamic protocol and can only arrange visual
- effects with receivers who provide preregistered
- information.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____DDDDYYYYNNNNAAAAMMMMIIIICCCC
- As an initiator, this client does not make use
- of any preregistered drop site information made
- available by other clients, and can only arrange
- visual effects with receivers who use the
- dynamic protocol.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____NNNNOOOONNNNEEEE
- Specifies that drag and drop is disabled for
- this client.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____DDDDRRRROOOOPPPP____OOOONNNNLLLLYYYY
- As an initiator, this client does not use either
- the preregistered drop site information or the
- dynamic protocol. It supports dragging, and any
- time the cursor is over a client that supports
- drag and drop, valid feedback is provided.
- There are no other visual effects.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEEFFFFEEEERRRR____DDDDYYYYNNNNAAAAMMMMIIIICCCC
- As an initiator, this client can support both
- the preregister and dynamic protocols, but
- prefers to use dynamic protocols whenever
- possible in order to provide high-quality drag-
- under feedback.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEEFFFFEEEERRRR____PPPPRRRREEEERRRREEEEGGGGIIIISSSSTTTTEEEERRRR
- As an initiator, this client can support both
- the preregister and dynamic protocols, but
- prefers to use the preregister protocol whenever
- possible in order to accommodate performance
- needs or to provide consistent drag-over
- feedback.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEEFFFFEEEERRRR____RRRREEEECCCCEEEEIIIIVVVVEEEERRRR
- Indicates that this client can support both
- preregister and dynamic protocols, but will
- defer to the preference of the receiver client.
- This value is valid only for the
- XXXXmmmmNNNNddddrrrraaaaggggIIIInnnniiiittttiiiiaaaattttoooorrrrPPPPrrrroooottttooooccccoooollllSSSSttttyyyylllleeee resource, and is
- its default value.
-
-
- XXXXmmmmNNNNddddrrrraaaaggggRRRReeeecccceeeeiiiivvvveeeerrrrPPPPrrrroooottttooooccccoooollllSSSSttttyyyylllleeee
- Specifies the drag and drop protocol requirements
- or preference when this client is a receiver. The
- values are
-
-
-
-
- Page 3 (printed 4/30/98)
-
-
-
-
-
-
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
-
-
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEERRRREEEEGGGGIIIISSSSTTTTEEEERRRR
- As a receiver, this client preregisters drop
- site information and does not use the dynamic
- protocol. It can only arrange visual effects
- with initiators who make use of the
- preregistered information.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____DDDDYYYYNNNNAAAAMMMMIIIICCCC
- As a receiver, this client uses the dynamic
- protocol and does not preregister drop site
- information. It can only arrange visual effects
- with initiators who use the dynamic protocol.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____NNNNOOOONNNNEEEE
- Specifies that drag and drop is disabled for
- this client.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____DDDDRRRROOOOPPPP____OOOONNNNLLLLYYYY
- As a receiver, this client neither uses the
- dynamic protocol nor preregisters drop site
- information. It supports dropping, and when
- dragging over this client, valid feedback is
- always provided, but there are no other visual
- effects.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEEFFFFEEEERRRR____DDDDYYYYNNNNAAAAMMMMIIIICCCC
- As a receiver, this client can support both the
- preregister and dynamic protocols, but prefers
- to use dynamic protocol whenever possible in
- order to provide high-quality drag-under
- feedback.
-
- XXXXmmmmDDDDRRRRAAAAGGGG____PPPPRRRREEEEFFFFEEEERRRR____PPPPRRRREEEERRRREEEEGGGGIIIISSSSTTTTEEEERRRR
- As a receiver, this client can support both the
- preregister and dynamic protocols, but prefers
- to use the preregister protocol whenever
- possible in order to accommodate performance
- needs.
-
-
- The actual protocol used between an initiator and
- a receiver is based on the protocol style of the
- receiver and initiator. The decision matrix is as
- follows:
-
- DDDDrrrraaaagggg IIIInnnniiiittttiiiiaaaattttoooorrrr DDDDrrrraaaagggg RRRReeeecccceeeeiiiivvvveeeerrrr PPPPrrrroooottttooooccccoooollll SSSSttttyyyylllleeee
- PPPPrrrroooottttooooccccoooollll SSSSttttyyyylllleeee _______________________________________________________________
- PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr PPPPrrrreeeeffffeeeerrrr PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr PPPPrrrreeeeffffeeeerrrr DDDDyyyynnnnaaaammmmiiiicccc DDDDyyyynnnnaaaammmmiiiicccc
- __________________________________________________________________________________
- PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr Preregister Preregister Preregister Drop Only
-
-
-
-
-
- Page 4 (printed 4/30/98)
-
-
-
-
-
-
- XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
-
-
-
- __________________________________________________________________________________
- PPPPrrrreeeeffffeeeerrrr PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr Preregister Preregister Preregister Dynamic
- __________________________________________________________________________________
- PPPPrrrreeeeffffeeeerrrr RRRReeeecccceeeeiiiivvvveeeerrrr Preregister Preregister Dynamic Dynamic
- __________________________________________________________________________________
- PPPPrrrreeeeffffeeeerrrr DDDDyyyynnnnaaaammmmiiiicccc Preregister Dynamic Dynamic Dynamic
- __________________________________________________________________________________
- DDDDyyyynnnnaaaammmmiiiicccc Drop Only Dynamic Dynamic Dynamic
-
- The value XXXXmmmmDDDDRRRRAAAAGGGG____NNNNOOOONNNNEEEE does not appear in the above
- matrix. When specified for either the initiator
- or receiver side, XXXXmmmmDDDDRRRRAAAAGGGG____NNNNOOOONNNNEEEE implies that drag
- and drop transactions are not supported. A value
- of XXXXmmmmDDDDRRRRAAAAGGGG____DDDDRRRROOOOPPPP____OOOONNNNLLLLYYYY (Drop Only) results when an
- initiator and receiver cannot compromise protocol
- styles, that is, one client requires dynamic mode
- while the other can only support preregister mode,
- or if either explicitly has specified
- XXXXmmmmDDDDRRRRAAAAGGGG____DDDDRRRROOOOPPPP____OOOONNNNLLLLYYYY.
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
- All of the superclass resources inherited by XmDisplay are
- designated N/A (not applicable).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((3333XXXX)))), CCCCoooommmmppppoooossssiiiitttteeee((((3333XXXX)))), CCCCoooorrrreeee((((3333XXXX)))),
- TTTTooooppppLLLLeeeevvvveeeellllSSSShhhheeeellllllll((((3333XXXX)))), VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))), WWWWMMMMSSSShhhheeeellllllll((((3333XXXX)))),
- XXXXmmmmGGGGeeeettttXXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX)))), and XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 5 (printed 4/30/98)
-
-
-
-